add type to result answer