defining vars, saving less json