add selector variable