undid hardcode for num splits