removed correcting function;