adding split string function
adding parse targets function