added hall effect program