input files and stuff. Also did lots of stuff