use in-line template