Modifying the vaildate functions by breaking down all the individual validators
Changing the validate condition using & instead of &&
Fixing the identation