adding used bit implementation