fit logic