updating spin implementation

updating spin implementation for so it works for the computer