added type object and set it to student