Added timestamper function to scratchpad