added a much faster, leaner version of ihac