added up to split function