removed bytebuf interface from sub class