Planning infix function