collecting pointer types