Enhancing work-life balance with a flexible schedule