Made a wrapper for split