changed students to hashes