cleaner validation syntax