working am_targ flat/stata