Working selector mapper algorithm