changed paths to new path functions