How can I get my calculation widget to work?