item type query

add item type query function