added comment to constructor