working on global settings