added start of format_week method