generalizing infolines