basically done. working on exit routine.