change the variable have_key1 to true. If it's key 2, it should change the variable have_key2 to true.