Declaring $data just in case the validation fails