worked out more mean correction stuff