renee's enumerable solution