Added order of operations calculating