added functions for setting question responses