added function to delete blank lines