factoring things around
update example, remove template stuff