not working for some reason

added some debugging lines