needed some includes and define clear bit routine