adding draw function draft