quick update to relative time. pulled code from hacking earlier