added calculator used for examples