Added draw function.