need the top most element type