examples refactor
examples style
factory example refactor