The calc method