added sensor pin reference