added printAllParams method