how do I make the form calculate