added firstFunc and secondFunc