corrected the dummy generator