minor changes
refactors weekday gen