change types to double