code organization, methods with better definitions