Correction for spacing and code styling version 3