assignment code