added plot class