To reduce the Memory consumption in the application, the arrow function is used.