new class for hist & appear