Moved spiral into its own method.