bind element to variable