removing extra print statements