changing to double_t