provided constants and factory methods in simple validations