Added validatoin in the properties