fixed examples to deal with changed header