change inputPerson to out of key