added snippet for pres_rep