changing to double