added Firebug like functionality