Do not use generator here