I am looking for an object that gets a stream of messages (0 or 1) and sends it out only if its different from the previous one. I am sure its really trivial but I just can't manage to do it. any help is welcome, Oded