sdf loader working, added random sampler