throw exception on airity mismatch