pies working