modify Problem methods so as to obtain names as needed and wished