inserted assignment code