changed bitwise ops