added checks for number of contributors and number of contributions