style: validation function returns nothing