adding remote and code