added generate button
added generate form