contribution chart functioning