fixed header files and comments ('byte' -> 'bit')