when both the keys are closed