Working on the local data