stub for "flip" function