formating
fixing type deduction