added some new settings in the init function