init (from PMS/jin and node-jin)