initial code for SList