use correct input types