basic bit vector stuff