setup logic to remote register