Refactored all method in Idea class