added style explanation, improved readability