solved problem for double {