change to ignore empty iniput lines