Working placePie functionality