added atEndOfPath to oppathfinder