Updated code style to conform with Google formatting