add runtime features to sample