added comment for size method