conditionalize $1
comment out debugging print()s