added the hall effect sensor