made before_destroy hh/g for student but I have to reconsider the logic