added add student function