added microseconds to timestamp code