added logic to make parser of datas received