pal example application