back to using templates