solved problem H