updating hallop
added hyp
added polygonal check