tentative template preprocess