min spacing almost working