made dynamic operation list, and calculate total total