added validations to collection model