Added assignment code.