modified generation of number
improved sheets