added support for multiple questions