keep preparing class for drawing chart