fm5.tl working, still need to fix scanf stall on exit