added u2l, l2u to util.py