Problem 11340 and 499 solved