why you need two scalar parameters instead of one array?