change var name to ppos