mean correction worked out correctly