skip the linear search