How to add an intermediate point