Investigating regulatory mechanisms of T cell effector function