working on cap file