make path argument receive sources object