merge basic template