invoke functionp with many paramaters