added method to get problem data