adding professors code