Debugged and added functions for 'students'