change to linux code style, I think it is more readable