complete code sample for gui calc