code pull mechanism