Moved this post here, so we can all have a go at working it out!