migrate to base template
actually add base template