add objectOriented style.