refactored ss models
psuedocode for propose ss algorithm