hal remote + example