I used to make a variation on this: potato leek pie
shredder attachment works best-shred potatoes & leeks, add to a bowl of cream, thyme, lots of parmesan, S&P, mix well.
small skillet, med-hogh heat, a little oil. strain out the liquid, put the potatoes in the pan and tuck in sides, pat down firm, let cook to brown up and flip. Finish in a hot oven, flip onto a cutting board and let settle for a bit and then slice.