extract methods retrieveWhatQuestion and retrieveWhatAnswer