change coursesvisible class declaration