mostly working

primitives working, now to get them to work in concert.