add type in response