adds more debug print statements