implemented undeterministic triggers in modules, added critical resources and trusted modules