add gateway first step.

M