added function for weekly dublikating