minor improvment on bits