Spiral code added