removed obsolete replaceRemote method