fourth assignment for real time data processing 9016656