add code reference in resources