many changes

changes to the live draw portion of the code