checking for timestamp