what pie is used for