New master function, use limit