Changed time to long