moving method declarations around