change copy_map to copy_filter
improve documentation