adding bitbuffer interface