source code step-2