got rid of useless print statements