get if statemenets kina working.