adding source code for packaging