added some console logging, added back abort loop