How to use the pizza function