add source and CAP files