Took away $endTime after realizing I could simply
use the time when it calculates.

Signed-off-by: Andrew Coomes <ajc@ajcdrift.com>