commit with af range search implemented