changed sample date; added some time measuring