minor refactorings, changed default unit for add to day