upd check+reverse+main