squad logic