adds conditional binding