added key inputs