testing function to SSP