object oriented approach, and parameters used