buggy. hgt object should be recreated every time