uncommented print statements, removed some attempts to optimize