Added isUni function