Changing w() method to u() method