binding: use NIL_P() to detect nil