reformatted test1 and started a functions file