add a method of passing arguments to class. whirlpool using dummy code