undid some of previous changes, added friendlyId for days