started working on the validation