tex almost finalized
almost done