Race

Altered logic to check
Still have to benchmark the compiler, will do that tomorrow