moved template out of includes to be consistent