Broke up methods into smaller methods.