Added the code to do the assigments.