inherit some data to template child