prepare structure before move to next step