add simple subfunction split