Don't use generator if empty