removed som shared global state in module. not tested it on drone yet