add srandmember and spop