adding a correction method