param class as local var