add calculate control