Homeworks and lecture codes