adding instructor functionality