Added bit shifting