How does your solution work?