inserted code for lev2 samps