Adding proximity IR code