works, but initialized to a really high value so run time is reasonable