gets type