refactoring in the fragments - daily fragment done; daily and hourly extend a base class;