first plot working