added validations and image