Finished bad sectors implementation