state of draw generation added, tested