dox
refactor example