stylus refactoring