added comment for private method