improved an assignement