prilimilary try to add average contrast