debug, removed deprecated way of refering to hash