selector is now with state