added levels, naive contrast