4/14/14 - changes contrast functions