make optional_head a var