added more print statements