Changed dictionary function back to split()