added teacher to models