use proper type