use correct type