program search offset and limit