Added a validation