last working version, dbg out on