starting mapping of paths