if @student = 0 it will raise an error