added Generate to package