added a hall effect sensor