deleted commented areas, check all global vars