hash -> type