Created function for save weeks