changed kickFlip to flip, updated to new API