added pre-flight example