index and correct time
hats bug