Correcting constructor