http://www.swanisland.net/solutions/stories/stories_control.html