Refactor option to use children
Updated examples