And he appointed certain of the Levites to minister before the ark of the LORD and to record and to thank and praise the LORD God of Israel

Could you correct the punctuation please?
And he appointed certain of the Levites to minister before the ark of the LORD, and to record, and to thank and praise the LORD God of Israel: