finish the in order version