re-implementation of the spinInterface done, first version in spinInterface