code format improvement