added repetative task code