add limit option to match