code style optimization