add calculate extension