Functionlaity for adding participants with varied costs