changing from integer to double