Made small changes and added an example input file