use split instead of stringtokenizer