added last sample timestmp