add integration function in draw_weekly