modify q to _all