Need help in understanding source code - Windmill