more penalty function preamble