minor refactoring extracted phones