Checking for validation  - Juzt in case its required