added comment to method