remove_empty_lines() function and got rid of  as a private var