add assignments source code