work so far on the templet. Still untested