preflighting example