converting double to long double
merge with master