plot working