refactoring; debugging; fixed edgar date issue YYYY to yyyy