Fixed: the program no longer creates one line too much