edited method names for more readability.