Dissection of cytotoxic and helper T cell responses