assignment of code