changed bitshift to hex