introduced global var 'selector' in last checkin