basic draw function

need to fix lag