added base for weekly view