use template binding