added validations to item