tweaks and extra features for export to ROCR