add plotting graphic and new class