cleaned up database, working recording grades