plotting is working