adding a path to attributes