Added PI - obstacles work