changed code styling