trying to figure out selection internals