plot not working