first plot method added.