Clarified order of operations somewhat