deleted body of the Generate-method