code does not work, but it shows where I want to go