add settings dependency and use base variable