Add comment about error got in function Generate