Rewrote `getTime`
It also doesn't ignore multiple occurrences now and just adds
them together