replace power with bit shift