Got templates to work