Added calculate() skeletion