Added lambda functions to Subjects model