works from ext program passing args to class