changed style to conform with coding standards