more coding in delete / trash modes