some simplifying, refactoring
Documentation!
refactor extendDate