local and remote final