Used get_input

No idea why it wasn't used in the first place. Also corrected
intendation in one file.