added Plot class