final assignment with the modification