#s logic