added teacher generator