improved code style.