adds create method to validator