add functionality for multiple operations in a single question