passing in remote