condition / action selector logic