add com calculation