more work on proc_range