finished input file according to specs
adding more functionality, improving method documentation