Split complex function