extra method in calculate class