added FigureHelper class