added a nice script for sampling