adding detailed options directive and changing how selection works in there