style
use bitfield object directly
add comments