order of operations fail