corrected typo
made should block if/elses its own method
added get_lines module, dried up some code