improved basic code styling