path information inital function