added bitread and bitwrite