calling custom validator functions