But why even do that if the previous loop will do the necessary map invocations? We should just have loop here for the case when input keys are not specified.