Added bit testing