added comment on the assigns to better understand what the assigns methods does