added list subjects functionality