changed contrast to 4 like old implementation