ssd code for testing