You may want to use a local `timestamp` variable, to access the ith element once instead of thrice. Although the CC may optimize this for you.