add loose_code file