efficient construction of candidate strings
add command to search everything