sampe code