wrong function signature for splitLine