re-arranged steps