add stub init and helpers