source code for package creation