add initialization functions example