local and remote both work