removed a redundant conditional
made shape of u more explicit