add datas and drawDepute function