Added epstheta func