made display depend on gather option