Wrong order of operations