refactoring. change path 'style' to 'writing'