move get_line ahead of where it is used