getRegIdsWithLimit added