added haarTest