Improves advanced example