numeric example with numpy