adding some print statements, still not working