bmap_rotate added