refactor to not use .reid but use .remote