changed docexpansion to list