Added inspect element and main