added basic protocol decoder