Added Input Box

Calculation is now made after event