working on global settings, not realy getting anywhere though