added and polishing the Blackbox feature