basic class viewing works