initial code for StellarisSPI