got rid of debugging printfs