Uncommented code for adding remote view