removed static method from units.ipynb example for clarity