code style simplify