renamed settings to constants