added unit_calculator snippet