added Split logic using StringTokenizer