finally got teachers working, may need to look into not using an array though