finish calculating