removed arguments beyond 3 from input validation.