implement teacher scenario