add local around the two block functions