applied new code styling