use bind as template variable