Wireless sensor network consists of spatially distributed autonomous sensors to monitor physical or environmental conditions, such as temperature, sound, pressure, etc. and to cooperatively pass their data through the network to a main location. In wireless networks, malicious sensor nodes send false data reports to distort aggregation results. Existing trust systems rely on general reputation to mitigate the effect of this attack. This report is the implementation of one of a novel reliable data aggregation protocol, called RDAT i.e Reliable DATa Aggregation Protocol. In this paper reliable data aggregation protocol with functional reputation is implemented. It is based on the concept of functional reputation.