add remote all function