updated draft of spinlocks module