removed local for global variables, easier check of transferred parameters, used by mining computer