debugged until it correctly executed the demo code (demo code wasn't done, and out() was wrong)
commented out debugging line