expanding vars to dictionary of search made