Working on the flat term buildiner. Unfinished.