Correction to previous commit

Is this code any good at all