add many param for c function