migrate to templates