add spsetup.c