Removing testing puts statements