added comments, starting to make tf aware of sampler