get_student_state now returns state properly