refactoring
centralizing edgar getting