Implemented decoder and handler