updated style for code