Explain the code snippet piece by piece