setting some variables, making defaults work