adding spin stuff