add condition to tolerate empty lines