corrected order of ops