adding remote all function