resolved run-time error but now stp-init needs getters for all the global variables in order for their values to be visible in the other modules.