range search implemented but not tested