refactor example01