Modified the logic thing to do only one initialization stage