Removed decode, renamed decoder2 to decode