removed redundant init, changes examples to use package