adding frame.plot

minor changes