Nice!

PS: I suggest using student instead of stud, before you can cut down on variable names write them fully first and then you will observe how you can cut them down. Ask me for a reference on variable naming in the future.