refactoring
methods for style