move method args to class attributes