added new function for clearing the bits