contrast module added in preprocessing