Adding solution for the corrupted data problem