implementing debugging checks for all sub packages. also implemented workers