takes multiple samples