pineapple method