order steps properly