add split function at backend