added defaults and bg