timestamp grabbing implemented