That is the proper way to Generate,