Fully working but kludgy program.