Adding assignment code.