added gitignore
new sampling method