small changes to add subject to teacher