add spec on generators