How could I create a custom calculator in my form?