modified Blackhole class