added comment on types