plot generator added