added blank implementation of flip