split function is added