initialized sampling, forgot to bring the code with me will upload tomorrow