worked on key inputs