New expc function added.