moved the spinny stuff to lib