super friday night refactor
use templates for index