improved sample problems