removed exponential and added factorial