added flag recived_data