basic CBC stuff for Rakib's LU