remove spinloop code from master branch; still in development