added teacher viewer stuff'