adding dictioner and input