comments + cleaning
addbit() function used and used