print statements added and results make no sense