generator function for 2 weeks