change processData to cater for new entry structure