prepare some steps