proper flipping