There's no .name method. You'll need student.fname and student.lname.