removed needless print statements