changed a type in function uof