• Explanation of above code