Is there a way to allow only even numbers?