add assignments from object-oriented design.