enable init and example usage within main