add assignments from source