added teacher view