Upadted functions with required settings.