applying the path