refactor out all other templates besides simple.