modified private method indentation for better readability