removed unnecessary bits