lab4 - exponential finished