correct computation sequence