adding form for calculations