add comment and codestyle