code used for atg-review