added subject service functions