almost got the selector working