trouble with getting the code to execute