refactored week display method