updated twobit and threebit