added comment on implementation