trying to get a orderly fitting and plotting tool