add more code
more edit and fix bit operations