How does windmill work step by step?