removed core_del_lines in favor of core_remove_line