Changed code to use UTC times