modify to return 0 always regardless of formatting state but return error code...
modify to return 0 always regardless of formatting state but return error code when intial checks fail
modify to return 0 always regardless of formatting state but return error code when intial checks fail