Added all verification for valid input