made the draw function, haven't tested it yet.