This is a better way to generate timestamps I think