Created multiple operations feature from eliza's code