add path pick up functionality