adding last_week and next_week functions