Sample Integration Code