added hall sensor pin