re-ordering the steps