basic task and selector definition