setting up files for func2 example