refactoring code ideaList