Changed dischargeCell to use a pointer to dcc. Changed functions to all return void since they weren't actually returning anything.